﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;


namespace IMServer.Models;

public class PendingRequestBox
{
    [BsonId]
    public ObjectId Id { get; set; }

    [BsonElement("userId")]
    public string UserId { get; set; } = null!;
    
    [BsonElement("messages")]
    public List<SystemMessage> Messages { get; set; } = new();

    [BsonElement("pendingCount")]
    public int PendingCount { get; set; } = 0;
}